public class ReviewClass {
    private String name;
    private   int id;
    public ReviewClass(String name){
        System.out.println("调用public构造器");
        this.name =name;
    }
    protected  void setid(int id){
        this.id=id;
    }
    protected void  printInfo(){
        System.out.println(name);
        System.out.println(id);
    }
    public  static  void  main(String[] args){
        ReviewClass test = new ReviewClass("jackyang");
        test.setid(915988465);
        test.printInfo();
    }
}
// public protected privated 访问控制修饰符号
// static final 访问修饰符号？
// 函数返回参数类型控制 void int double boolean
